﻿using System;
using System.Runtime.InteropServices;


namespace advadev.Windows.CustomWindows.WindowsGDI
{

    /// <summary>
    /// The MONITORINFO structure contains information about a display monitor
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    internal struct MINMAXINFO
    {

        /// <summary>
        /// Reserved; do not use
        /// </summary>
        internal POINT ptReserved;

        /// <summary>
        /// The maximized width (x member) and the maximized height (y member)
        /// of the window. For top-level windows, this value is based on the
        /// width of the primary monitor
        /// </summary>
        internal POINT ptMaxSize;

        /// <summary>
        /// The position of the left side of the maximized window (x member) and
        /// the position of the top of the maximized window (y member). For top-
        /// level windows, this value is based on the position of the primary
        /// monitor
        /// </summary>
        internal POINT ptMaxPosition;

        /// <summary>
        /// The minimum tracking width (x member) and the minimum tracking
        /// height (y member) of the window
        /// </summary>
        internal POINT ptMinTrackSize;

        /// <summary>
        /// The maximum tracking width (x member) and the maximum tracking
        /// height (y member) of the window. This value is based on the size of
        /// the virtual screen
        /// </summary>
        internal POINT ptMaxTrackSize;

    }

}
